home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Online / hsc / docs-source / bugs.hsc < prev    next >
Encoding:
Text File  |  1997-11-02  |  5.4 KB  |  115 lines

  1. <WEBPAGE chapter="hsc - " title="Known Bugs, Problems And Limitations"
  2.     PREV="others.html"
  3.     NEXT="future.html"
  4.     QTEXT=("So we keep putting our trust in things that rust<BR>"
  5.           +"And then we feel the pain of loss")
  6.     QAUTHOR='James, "Stripmining"'>
  7.  
  8. Every program sucks. Read why this program sucks, too.
  9.  
  10. <H2>Known Bugs</H2>
  11.  
  12. The problems below should be fixed.. sometimes.
  13. <UL>
  14. <LI>You should try to avoid using a project file and pipes
  15.     together; although <hsc> should now be able to cope with
  16.     this without enforcer hits, it might still behave
  17.     unreasonable and end up with funny project files and
  18.     dependencies.
  19. <LI>There seems to be a problem with <CODE>GETSIZE</CODE> for
  20.     machines based on CPUs that do not support networking byte order
  21.     (like those from wIntel). 
  22. <LI>I'm still not sure, if <CODE>GETSIZE</CODE> for JFIF/JPEG can handle
  23.     everything correct - but hopefully it does. (It worked on all porno
  24.     pictures I could find on my harddisk.) I've really never seen
  25.     such an idiotic, brain-dead, ill-minded and chaotically structured
  26.     image-format before. 
  27. </UL>
  28.  
  29. <H2><A NAME="internal">Internal Error Messages</A></H2>
  30.  
  31. <P>This is a special kind of messages which does not fit into the
  32. schema of all those <A HREF=":messages.html">messages</A>
  33. described at another chapter. When processing it's input,
  34. <hsc> does not only check if the user made a mistake, but
  35. also the author of this tools. At several places of the
  36. source code, <hsc> tests for things that must not happen.
  37. Otherwise, <hsc> assumes it has completely fucked-up. In this
  38. case, it simple displays a message on the screen and aborts.</P>
  39.  
  40. An example message could look like this:
  41.  
  42. <PRE>** internal error at "hugo.c" (123): sepp is not at home</PRE>
  43.  
  44. <P>These messages are not really meant to be interpreted by the user,
  45. but by the programmer. When <hsc> puts out an internal error message,
  46. you should <A HREF=":author.html">contact the author</A> and report
  47. this bug, including the complete text of the panic message. In such a
  48. case, you are not expected to create a sophisticated bug report, as
  49. such problems are hard to backtrace.</P>
  50.  
  51. <H2>Known Problems</H2>
  52.  
  53. The problems described below probably won't ever be fixed.
  54. <UL>
  55. <LI>URI checking is performed via trying to open a file. As AmigaOS
  56.     is case-insensitive dealing with filenames, problems might
  57.     occur when copying the html-object-tree to a case-sensitive
  58.     file system. I recommend to rebuild the whole project at the
  59.     target system.
  60. <LI>If you specify a <TG>BASE HREF=".."</TG>, <hsc> is unable to
  61.     find out how the base is related to the destination directory
  62.     and will treat all local URIs like external ones. Therefor no
  63.     link validation will be performed. Project relative URIs
  64.     are not possible with a base-URI set, of course.
  65. <LI>The obsolete tags <TG>LISTING</TG> and <TG>XMP</TG> might not be
  66.     treated correctly, as the behavior of these two seems so be not
  67.     very strictly defined. You should avoid them anyway and use
  68.     <TG>PRE</TG> or <TG>$source</TG> instead.
  69. <LI>With CLI-option <KBD>STRIPBADWS</KBD> enabled, source code like
  70.     <qqc><$source><B>hello <!-- xy --></B></$source></qqc>
  71.     is not converted to
  72.     <qqc><$source><B>hello<!-- xy --></B></$source></qqc>. That means that
  73.     the blank after <qqc>hello</qqc> will remain, but does not display a
  74.     <ln_msg id="79">, as the <TG>!..</TG> caused all white spaces preceding
  75.     it to be flushed. I already said it several times, and I say it again:
  76.     Do not use those bloody sgml-comments!
  77. <LI><hsc CAP> doesn't care much about filenames and their limitations.
  78.     If, for example, a filename gets too long, it depends on
  79.     <CODE>fopen()</CODE> of your compiler whether an error is reported 
  80.     or the filename
  81.     is truncated. If you insist on filenames containing 46587643
  82.     characters, <hsc> can cope with it - but your OS probably won't.
  83. <LI>Out-of-memory can cause small memory-leaks. This is because <hsc>
  84.     uses a special <CODE>malloc()</CODE>-function which just displays
  85.     an error message and quits using <CODE>exit()</CODE>. As <hsc>
  86.     keeps track of all allocated resources, it will release everything
  87.     that could be fully initialised and made it into its supposed
  88.     resource list. For out-of-memories during partially initialising
  89.     complex structures, this fails and can cause memory-leaks
  90.     (normally approx. 100-500 bytes). Usually, these are handled by
  91.     your OS or, as for AmigaOS, by the <CODE>malloc()</CODE>-function
  92.     of the run-time-library, so you shouldn't bother too much about
  93.     that. Blame K&R (or whoever perpetrated
  94.     <CODE>malloc()</CODE>)for their brain-damaged memory management
  95.     concepts.
  96. <LI><CODE>GetFileSize()</CODE> probably won't work correctly on
  97.     files greater than 2 GB.
  98. </UL>
  99.  
  100. <H2>Limitations</H2>
  101.  
  102. <P><hsc CAP> is fully dynamic and it's input size, number of
  103. syntax-elements and etc. is only limited by memory and disk space.
  104. Only some less important status messages are created in classic,
  105. brain-dead zero-terminated C-character-arrays and are truncated if
  106. they become too long.</P>
  107.  
  108. <P>However, for projects much larger then 100 documents, scanning the
  109. project file on every run takes an awful lot of time; due the lack of any
  110. portable concept of keeping data resident after a program exits, there is
  111. no workaround for this (same problem like with <hsc.prefs>); you will have
  112. to get rid of the project-file and <hscdepp> for such projects.</P>
  113.  
  114. </WEBPAGE>
  115.